<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
</head>

<body>
	<input type="file" id="uploadFile"/>
	<button type="button" onclick="show()">点我啊</button>
	<script type="text/javascript" src="canvas-compress.js" charset="utf-8"></script>
	<script type="text/javascript">
		window.onload = function(){
			bindCompressCtl("uploadFile");
		}
		
		function show(){
			console.log('点击按钮了！');
			console.log(imageOri);
			console.log(imageCompressed);
		}
	</script>
</body>
</html>